package com.zwp.base.entity

import com.zwp.base.exception.ResultException


class BaseResult<T>{

    var data: T? = null
    var errorCode: Int = -1//错误码0为正确
    var errorMsg: String? = null

    //数据状态
    var dataStatus: DataStatus? = null

    //当STATE_ERROR状态的时候这个才会有值
    var exception: ResultException? = null

}
